#pragma once

#include"ser.h"
#include"addr.h"
#include"deal.h"

int get_lis_socket(Addr&,int lack=5);

void apt_func(int,short ,void *);

void read_func(bufferevent *,void *);

void err_func(bufferevent *,short ,void *);

void deal(bufferevent *,const char *);

Deal * get_deal(int n);




